import React, { Component } from 'react';
import { Container } from 'native-base';
import Bottom from '../container/Bottom';
import Top from '../container/Top';

export default class Layout extends Component {
    render() {
        return (
            <Container>
                <Top />
                {this.props.children}
                <Bottom {...this.props}/>
            </Container>
        );
    }
}